﻿using System;
using System.Net;
using System.Windows.Forms;

namespace KexpScrobbler
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
            Application.EnableVisualStyles();
            Application.Run(new MainForm());
        }

        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            if (!( e.Exception is WebException))
            {
                throw e.Exception;
            }
        }
    }
}